package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.LoginType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class UserIdGetForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 64)
    protected String account;
    
    @NotBlank
    @Length(max  = 32)
    protected String broker_key;
    
    @NotBlank
    @EnumValue(enumClass = LoginType.class)
    protected String login_type;
    
    public String getBroker_key() {
        return broker_key;
    }
    
    public void setBroker_key(String broker_key) {
        this.broker_key = broker_key;
    }
    
    public String getAccount() {
        return account;
    }
    
    public void setAccount(String account) {
        this.account = account;
    }
    
    public String getLogin_type() {
        return login_type;
    }
    
    public void setLogin_type(String login_type) {
        this.login_type = login_type;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserIdGetForm [account=").append(account).append(", broker_key=").append(broker_key)
                .append(", login_type=").append(login_type).append(", user_token=").append(user_token)
                .append(", tenant_id=").append(tenant_id).append("]");
        return builder.toString();
    }
    
}
